<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport"
        content="width=device-width, initial-scale=1.0">
<meta name="HandheldFriendly" content="true">
<title>Sample</title>
</head>
<body>
<script>
function callback(tx){
	// 可以执行tx.executeSql()操作
}
function creationCallback(database){
	database.changeVersion(database.version, "1.0",
                                callback);
}
var db = openDatabaseSync('mydb', '',
                               '我的第一个客户端数据库',
                               2 * 1024 * 1024,
                               creationCallback);
</script>
</body>
</html>
